package com.qst.crop.service;

import com.qst.crop.entity.Reserve;

import java.util.List;

public interface ReserveService {

    //增加预约
    void insert(Reserve record);

    //查询个人预约
    List<Reserve> selectByReserve(String type);

    //根据id修改预约
    void updateById(Reserve record);

    //删除预约
    void delete(Integer id);

    //根据id查询预约
    Reserve selectById(Integer id);

}
